﻿@model MvcPaging.IPagedList<iwintip.RECORD>

@{
    ViewBag.Title = "Record";
    ViewBag.Menu = "RECORD";
}

<div id="post-72" class="post singlep" style="background:none repeat scroll 0 0 #000000 !important; border:none !important; box-shadow:none !important">
<table id="tableRecord" border="1">
    <tbody>
        <tr style="background-color: #25451d; text-align: center;">
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">TIME</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">LEAGUE</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">MATCH</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">ODDS</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">PICK</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">SCORE</span></span></strong></span></h2>
            </td>
            <td>
                <h2 style="text-align: center;"><span style="font-size: large;"><strong><span style="color: #ffffff;"><span style="font-family: arial black,avant garde;">RECORD</span></span></strong></span></h2>
            </td>
        </tr>
        @foreach (var item in Model) {
        <tr style="text-align: center;">
            <td><span class="time">@item.Time.ToString("dd/MM/yy")</span></td>
            <td><span class="league_@item.LEAGUE1.Name">@Html.DisplayFor(modelItem => item.LEAGUE1.Name)</span></td>
            <td><span class="league_@item.LEAGUE1.Name">@Html.DisplayFor(modelItem => item.Match)</span></td>
            <td><span class="league_@item.LEAGUE1.Name">@Html.DisplayFor(modelItem => item.Odds)</span></td>
            <td><span class="league_@item.LEAGUE1.Name">@Html.DisplayFor(modelItem => item.Pick)</span></td>
            <td><span class="league_@item.LEAGUE1.Name">@Html.DisplayFor(modelItem => item.Score)</span></td>
            <td><span class="result_@item.Result"><strong>@Html.DisplayFor(modelItem => item.Result)</strong></span></td>
        </tr>
        }
    </tbody>
</table>
<div class="pager">
	@MvcPaging.PagingExtensions.Pager(this.Html, Model.PageSize, Model.PageNumber, Model.TotalItemCount)
</div>
    </div>
